<?php

namespace App\Http\Controllers\DesignPattern\Creational\Behavioral;

use App\Model\DesignPattern\Creational\Behavioral\Visitor\Jump;
use App\Model\DesignPattern\Creational\Behavioral\Visitor\Lion;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class VisitorController extends Controller
{
    public function index()
    {
        $res = new Jump();
        return $res->visitLion(new Lion());
    }
}
